package com.sca.point.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Getter;
import lombok.Setter;

import java.time.LocalDateTime;

/**
 * @author liuxianfei
 * @since 2020/11/13 16:12
 */
@Setter
@Getter
@TableName("sca_point")
public class Point extends AbstractEntity<Point> {

    private static final long serialVersionUID = -6317024163962319767L;

    /**
     * 用户id
     */
    private Integer userId;

    /**
     * 积分
     */
    private Integer point;

    private LocalDateTime createTime;
    private LocalDateTime updateTime;

    /**
     * 0：有效，1：无效
     */
    @TableField("is_delete")
    private Boolean del;

}
